package scau.zzf.dictionary;

import scau.zzf.base.common.IBaseCode;

/**
 * Created by zzf on 2017/1/15.
 */
public enum Code implements IBaseCode {
    OPERATION_SUCCESS(1, "操作成功"),

    OPERATION_Fail(0, "操作失败"),
    EXCEPTION(99,"系统异常"),

    NULL_POINT(3, "查找不到数据");
    private int code;
    private String message;
    Code(int code, String message) {
        this.code = code;
        this.message = message;
    }
    public int getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
